From: Marco Trevisan (TreviƱo) Date: Thu, 10 Sep 2026 17:45:09 +0000 (+0200) Subject: notificationDaemon: Hide the overview and close calendar for all Notifications X-Git-Tag: archive/raspbian/50.5-1+rpi1^2~6^2^2~8 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a32aec2a2ae4ed8c738c5d4124f61a2b232c2e99;p=gnome-shell.git notificationDaemon: Hide the overview and close calendar for all Notifications We have this behavior when activating all the notifications but not for the ones using portal API, so let's just be consistent and do it for all Part-of: (cherry picked from commit dbdf1f051d61341b69be4c086bd2c0c0332b4d90) --- diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js index 797100e5d..e94a9e81d 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -465,6 +465,9 @@ class GtkNotificationDaemonNotification extends MessageTray.Notification { this.source.activateAction(actionId.slice('app.'.length), target); else this.source.emitActionInvoked(this.id, actionId, target); + + Main.overview.hide(); + Main.panel.closeCalendar(); } _onButtonClicked(button) { @@ -517,9 +520,6 @@ class GtkNotificationDaemonAppSource extends MessageTray.Source { this._app.activate_action(actionId, params, 0, -1, null).catch(error => { logError(error, `Failed to activate action for ${this._appId}`); }); - - Main.overview.hide(); - Main.panel.closeCalendar(); } emitActionInvoked(notificationId, actionId, target) {